package com.grj.parkingsystem.service;

import com.grj.parkingsystem.entity.ParkingSpace;
import com.baomidou.mybatisplus.extension.service.IService;

import java.util.List;

/**
* @author ganru
* @description 针对表【t_parking_space(车位表)】的数据库操作Service
* @createDate 2025-05-16 16:51:44
*/
public interface ParkingSpaceService extends IService<ParkingSpace> {
    List<ParkingSpace> getAvailableSpaces(Long parkingLotId);
    boolean reserveSpace(Long spaceId);
    boolean releaseSpace(Long spaceId);
}
